import http from "../request"
const apibase = "/api/Segment"
import qs from 'qs'
//获取车间
var GetSegments = function(data) {
	return new Promise((resolve, reject) => {
		http.post(apibase + `/GetSegments`,data)
			.then(res => {
				resolve(res)
			})
			.catch(error => {
				reject(error)
			})
	})
}
export{
    GetSegments
}